package com.ws.ssmzongjie3.service;

import com.ws.ssmzongjie3.bean.Orders;
import com.ws.ssmzongjie3.bean.Route;

import java.util.List;

public interface RouteService {

    public void insertRoute(Route route);

    public void deleteRoute(Route route);

    public Route getRouteById(Route route);

    public void updateRoute(Route route);

    public List<Route> listRoute(Route route);

    public void updateRouteDelete(Route route);

    public List<Route> listRouteWithBusinessAndColumn(Route route);

    public List<Route> listRouteWithAttachments(Route route);

    public List<Route> collectionDesc(Route route);

    List<Route> listRouteWithLikes(Route route, Integer userId, Boolean isCollected);

    List<Route> listRouteWithCollections(Route route, Integer userId, Boolean isCollected);

}
